import { HTMLInputTypeAttribute } from "react";
import { InputTextPropsType } from "./InputText/interface";

/**
 * input 通用类型
 */
export type InputCurrencyType<V = string> = {
  type?: HTMLInputTypeAttribute,
  validateStatus?: 'success' | 'warning' | 'error' | 'validating'
} & Pick<JSX.IntrinsicElements['input'], 'name'>

export type InputPropsType = InputTextPropsType

export type InputDataRef = {
  focusState: 'blur' | 'focus'
} 